//02:2.5:ex2.7.cpp
#include <iostream>

int Add (int first, int second)
{
    std::cout << "In Add(), received " << first << " and \
     " << second << "\n";
     return first + second;
}

int main(void)
{
    using std::cout;
    using std::cin;

    int a, b, c;
    cout << "I'm in main()!\n";
    cin >> a;
    cin >> b;
    cout << "\nCalling Add()\n";
    c = Add(a, b);
    cout << "\nBack in main().\n";
    cout << "c was set to " << c;
    cout << "\nExiting...\n\n";

    return 0;
}